<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://doc.hyperf.io
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf-cloud/hyperf/blob/master/LICENSE
 */

namespace App\Constants;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

/**
 * @Constants
 */
class ErrorCode extends AbstractConstants
{
    //默认错误
    const DEFAULT_ERROR = 0;
    /**
     * @Message("Server Error！")
     */
    const SERVER_ERROR = 500;
    const SERVER_LOCK = 501;
    const OP_TOO_MANY = 502;
    //参数错误
    const PARAMETER_ERROR = 10001;
    //登录态token失效
    const LOGIN_TOKEN_EXP = 99999;


    //充值弹窗
    const RECHARGE_POPOVER = 88888;

    //送礼物弹窗
    const SEND_GIFT_POPOVER = 77777;

    //用户禁言
    const USER_FORBIDDEN = 99998;
    //设备号限制
    const DEVICE_LMT = 100001;
    //IP限制
    const IP_LMT = 100024;
    //手机注册限制
    const PHONE_LMT = 100025;
    //验证码次数限制
    const CAPTCHA_LMT = 100002;
    //验证码错误
    const CAPTCHA_ERR = 100003;
    //用户不合法
    const USER_NOT_VALID = 100004;
    //设备被冻结
    const DEVICE_NOT_VALID = 100020;
    //操作不合法
    const OP_NOT_VALID = 100005;

    //魅力值不满足金币设置要求
    const SET_COIN_ERROR = 100006;
    //没有首充，无法免费新手福利
    const NO_PAY_NO_BENIFIT = 100007;
    //剩余时长不够
    const REMAIN_TIME_LMT = 100008;
    //剩余金币余额不够
    const COIN_NOT_ENOUGH = 100009;
    //没有绑定手机号
    const PHONE_NOT_BIND = 100010;
    //用完免费券
    const FREE_CALL_USED = 100020;
    //输入违规
    const INPUT_SENSITIVE = 100021;

    //提现超限额
    const WITHDRAW_OVER_LMT = 100011;
    //提现错误
    const WITHDRAW_ERROR = 100012;
    //没有合适声优
    const NO_VALID_HOST = 100013;
    //对方忙或者手机不在身边
    const HOST_BUSY = 100014;
    //手机号已经绑定其他账号了
    const PHONE_BINDED = 100015;
    //提现资料未提交
    const WITHDRAW_INFO_EMPTY = 100016;
    //提现资料审核中
    const WITHDRAW_INFO_ING = 100017;
    //技能申请审核中
    const HOST_APPLY_ING = 100018;
    //已经绑定过第三方账号了
    const SOCIAL_BINDED = 100019;
    //还未绑定该账号
    const SOCIAL_UNBIND = 100027;
    //公会绑定-有被邀请关系
    const GUILD_CANT_INVITED = 100022;
    //公会绑定-有被邀请关系
    const GUILD_CANT_INVITED_FAILED = 100028;
    //消耗金币异常
    const COST_COIN_ERR = 100023;
    //已经领取过免费通话券
    const FREE_CALL_GET = 100026;
    //充值参数有误
    const RECHARGE_PARAM_ERR = 200001;
    //订单不存在
    const ORDER_NOT_EXISTS = 200002;
    //任务奖励领取失败
    const TASK_REAWRD_FAIL = 200003;
    //苹果充值验证失败
    const APPLE_PAY_VERIFY_ERR = 200004;
    //私聊开启限制（每天）
    const CHAT_DAILY_LIMIT = 300001;
    //拉黑关系
    const CHAT_BLACK_LMT = 300002;
    //没有设置聊天自动回复
    const NO_AUTO_MSG = 3000003;
    //自动消息数量限制
    const AUTO_MSG_LMT = 3000004;
    //打招呼消息设置身份限制
    const AUTO_MSG_ROLE_LMT = 300005;
    //性别相同
    const NO_CHAT_SAME_GENDER = 300006;
    //身份证认证失败
    const IDCARD_VRF_FAIL = 400001;
    //获取视频验证token失败
    const VRF_TOKEN_FAIL = 400002;
    //视频认证没有完成
    const VRF_NOT_COMPLT = 400003;
    //视频认证失败
    const VRF_FAIL = 400004;
    //还未进行身份验证
    const NO_ID_VRFY = 400005;
    //认证审核中
    const ID_VRFYING = 400027;
    //还未进行视频刷脸验证
    const NO_FACE_VRFY = 400006;
    //是否绑定收款账号
    const NO_BIND_ACCOUNT = 400007;
    //该身份信息已存在
    const ID_CARD_EXITS = 400008;
    //未成年
    const NOT_GROWN_UP = 400009;
    //当前不允许认证
    const NOT_ALLOWED_VRF = 400010;
    //真人头像还未认证
    const REAL_AVATAR_NOT_VRFY = 400011;
    //真人头像达到上限
    const REAL_AVATAR_LMT = 400012;
    //暂未提交微信认证
    const WECHAT_NOT_SUBMIT = 400013;
    //暂未通过微信认证
    const WECHAT_NOT_PASS = 400020;
    //亲密值未达标
    const CLOSE_VALUE_LMT = 400014;
    //第一次搭讪
    const FIRST_SUPER_CHAT = 400015;
    //等级不够
    const USER_LEVEL_LMT = 400016;
    //微信查看申请操作已过期
    const WECHAT_APPLY_EXP = 400017;
    //微信查看拒绝
    const WECHAT_APPLY_REFUSE = 400018;
    //发送申请成功
    const WECHAT_APPLY_SEND = 400019;
    //微信查看金币未支付
    const WECHAT_APPLY_NOT_PAY = 400021;
    //背包礼物错误
    const PACK_BAG_USE_ERROR = 400022;
    //绑定邀请码已超时
    const BIND_INVITE_EXP = 400023;
    //已经绑定过邀请码
    const BINDED_INVITE = 400024;
    //已经绑定过邀请码
    const BIND_INVITE_INVALID = 400025;
    //今天已经签到过
    const SIGNIN_TODAY = 400026;
    //送礼额度已达上限
    const GIFT_COST_LIMIT = 400028;
    //送礼额度已达上限
    const JOIN_DISCOUNT_VIDEO_FAIL = 400029;
}
